package cn.itcast.net2.chat;

import java.io.IOException;
import java.net.DatagramSocket;

public class ChatMain {
	public static void main(String[] args) throws IOException {
		DatagramSocket ds = new DatagramSocket();
		DatagramSocket rece = new DatagramSocket(10003);
		new Thread(new Send(ds)).start();
		new Thread(new Rece(rece)).start();
	}

}
